package com.yy.bolg.entity.hik;

import java.util.List;

/**
 * 实时接收故障推送实体类
 * @author enmaoFu
 * @date 2024-12-14
 */
public class ReceiveFaultNotificationsBean {

    /**
     * fps : {"msgList":[{"body":{"data":[{"deviceType":"4","resourceID":"487615982049533953","channelNo":"1","resourceSerial":"D73837640","unitName":"三期园区","companyName":"杭州西湖科技有限公司","faultNum":381,"faultTime":"2020-07-10T15:12:27.000+08:00","resourceName":"C6CN(D73837640)@1","areaID":"478202092358332416","companyID":"455764650946977792","faultID":"487989090715660289","systemType":"500006","faultType":"300014","unitID":"478202328627224577","faultState":"0","resourceType":"980001105"}],"dataType":"980004101","notifyType":null},"msgType":"980004"}]}
     */

    private FpsBean fps;

    public FpsBean getFps() {
        return fps;
    }

    public void setFps(FpsBean fps) {
        this.fps = fps;
    }

    public static class FpsBean {
        private List<MsgListBean> msgList;

        public List<MsgListBean> getMsgList() {
            return msgList;
        }

        public void setMsgList(List<MsgListBean> msgList) {
            this.msgList = msgList;
        }

        public static class MsgListBean {
            /**
             * body : {"data":[{"deviceType":"4","resourceID":"487615982049533953","channelNo":"1","resourceSerial":"D73837640","unitName":"三期园区","companyName":"杭州西湖科技有限公司","faultNum":381,"faultTime":"2020-07-10T15:12:27.000+08:00","resourceName":"C6CN(D73837640)@1","areaID":"478202092358332416","companyID":"455764650946977792","faultID":"487989090715660289","systemType":"500006","faultType":"300014","unitID":"478202328627224577","faultState":"0","resourceType":"980001105"}],"dataType":"980004101","notifyType":null}
             * msgType : 980004
             */

            private BodyBean body;
            private String msgType;

            public BodyBean getBody() {
                return body;
            }

            public void setBody(BodyBean body) {
                this.body = body;
            }

            public String getMsgType() {
                return msgType;
            }

            public void setMsgType(String msgType) {
                this.msgType = msgType;
            }

            public static class BodyBean {
                /**
                 * data : [{"deviceType":"4","resourceID":"487615982049533953","channelNo":"1","resourceSerial":"D73837640","unitName":"三期园区","companyName":"杭州西湖科技有限公司","faultNum":381,"faultTime":"2020-07-10T15:12:27.000+08:00","resourceName":"C6CN(D73837640)@1","areaID":"478202092358332416","companyID":"455764650946977792","faultID":"487989090715660289","systemType":"500006","faultType":"300014","unitID":"478202328627224577","faultState":"0","resourceType":"980001105"}]
                 * dataType : 980004101
                 * notifyType : null
                 */

                private String dataType;
                private Object notifyType;
                private List<DataBean> data;

                public String getDataType() {
                    return dataType;
                }

                public void setDataType(String dataType) {
                    this.dataType = dataType;
                }

                public Object getNotifyType() {
                    return notifyType;
                }

                public void setNotifyType(Object notifyType) {
                    this.notifyType = notifyType;
                }

                public List<DataBean> getData() {
                    return data;
                }

                public void setData(List<DataBean> data) {
                    this.data = data;
                }

                public static class DataBean {
                    /**
                     * deviceType : 4
                     * resourceID : 487615982049533953
                     * channelNo : 1
                     * resourceSerial : D73837640
                     * unitName : 三期园区
                     * companyName : 杭州西湖科技有限公司
                     * faultNum : 381
                     * faultTime : 2020-07-10T15:12:27.000+08:00
                     * resourceName : C6CN(D73837640)@1
                     * areaID : 478202092358332416
                     * companyID : 455764650946977792
                     * faultID : 487989090715660289
                     * systemType : 500006
                     * faultType : 300014
                     * unitID : 478202328627224577
                     * faultState : 0
                     * resourceType : 980001105
                     */

                    private String deviceType;
                    private String resourceID;
                    private String channelNo;
                    private String resourceSerial;
                    private String unitName;
                    private String companyName;
                    private int faultNum;
                    private String faultTime;
                    private String resourceName;
                    private String areaID;
                    private String areaName;
                    private String companyID;
                    private String faultID;
                    private String systemType;
                    private String faultType;
                    private String unitID;
                    private String faultState;
                    private String resourceType;

                    public String getDeviceType() {
                        return deviceType;
                    }

                    public void setDeviceType(String deviceType) {
                        this.deviceType = deviceType;
                    }

                    public String getResourceID() {
                        return resourceID;
                    }

                    public void setResourceID(String resourceID) {
                        this.resourceID = resourceID;
                    }

                    public String getChannelNo() {
                        return channelNo;
                    }

                    public void setChannelNo(String channelNo) {
                        this.channelNo = channelNo;
                    }

                    public String getResourceSerial() {
                        return resourceSerial;
                    }

                    public void setResourceSerial(String resourceSerial) {
                        this.resourceSerial = resourceSerial;
                    }

                    public String getUnitName() {
                        return unitName;
                    }

                    public void setUnitName(String unitName) {
                        this.unitName = unitName;
                    }

                    public String getCompanyName() {
                        return companyName;
                    }

                    public void setCompanyName(String companyName) {
                        this.companyName = companyName;
                    }

                    public int getFaultNum() {
                        return faultNum;
                    }

                    public void setFaultNum(int faultNum) {
                        this.faultNum = faultNum;
                    }

                    public String getFaultTime() {
                        return faultTime;
                    }

                    public void setFaultTime(String faultTime) {
                        this.faultTime = faultTime;
                    }

                    public String getResourceName() {
                        return resourceName;
                    }

                    public void setResourceName(String resourceName) {
                        this.resourceName = resourceName;
                    }

                    public String getAreaID() {
                        return areaID;
                    }

                    public void setAreaID(String areaID) {
                        this.areaID = areaID;
                    }

                    public String getCompanyID() {
                        return companyID;
                    }

                    public void setCompanyID(String companyID) {
                        this.companyID = companyID;
                    }

                    public String getFaultID() {
                        return faultID;
                    }

                    public void setFaultID(String faultID) {
                        this.faultID = faultID;
                    }

                    public String getSystemType() {
                        return systemType;
                    }

                    public void setSystemType(String systemType) {
                        this.systemType = systemType;
                    }

                    public String getFaultType() {
                        return faultType;
                    }

                    public void setFaultType(String faultType) {
                        this.faultType = faultType;
                    }

                    public String getUnitID() {
                        return unitID;
                    }

                    public void setUnitID(String unitID) {
                        this.unitID = unitID;
                    }

                    public String getFaultState() {
                        return faultState;
                    }

                    public void setFaultState(String faultState) {
                        this.faultState = faultState;
                    }

                    public String getResourceType() {
                        return resourceType;
                    }

                    public void setResourceType(String resourceType) {
                        this.resourceType = resourceType;
                    }

                    public String getAreaName() {
                        return areaName;
                    }

                    public void setAreaName(String areaName) {
                        this.areaName = areaName;
                    }
                }
            }
        }
    }
}
